﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php

using System.Collections.Generic;

namespace DNA.Mvc
{
    public interface IWebRepository :IRepository<Web>
    {
        /// <summary>
        /// Gets the web instance by specified web name.
        /// </summary>
        /// <param name="name">Specfied the web name.</param>
        /// <returns>A Web object.</returns>
        Web GetByName(string name);

    }
}
